package im.ok.back.common;

public enum FileSuffixEnum {
    DOC(1, ".doc"),
    HTML(2, ".html"),
    PDF(3, ".pdf"),
    GIF(4, ".gif"),
    JPG(5, ".jpg"),
    PNG(6, ".png"),
    BMP(7, ".bmp"),
    ;



    private final int code;
    private final String desc;

    FileSuffixEnum (int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }

}
